<?php

/**
 * [simcool]
 *
 * @package simcool
 * @author shean
 * @version 2024-12
 * @link http://doubao.life
 */
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
?>
<!DOCTYPE HTML>
<html lang="zh-cn">

<head><?php $this->need('header.php'); ?></head>

<body>
    <div class="container">
        <div class="columns">
            <!-- cover pc-only -->
            <div class="column col-4 px-0 hide-sm">
                <?php $this->need('cover-today.php'); ?>
            </div>
            <!-- page -->
            <div class="column col-8 col-sm-12 px-0">
                <!-- menu -->
                <div class="container p-0">
                    <?php $this->need('menu.php'); ?>
                </div>
                <!-- cont -->
                <div class="container">
                    <div class="columns">
                        <!-- left -->
                        <div class="column col-3 col-sm-3 px-0">
                            <!-- cate-menu -->
                            <?php $this->need('cateMenu.php'); ?>
                        </div>
                        <!-- right -->
                        <div class="column col-9 col-sm-9 p-0">
                            <!-- page body -->
                            <div class="scroller-y" style="height: calc(100vh - 42px);">

                                <?php if (!$this->have()): ?>
                                    <div class="archive-item no-border">
                                        <div class="d-flex a-center j-center" style="height:calc(100vh - 160px);">
                                            <div>
                                                <div class="bg-image img-nodata" style="width:80px;height:80px;"></div>
                                                <div class="text-dark text-small text-center mt-2">暂无数据</div>
                                            </div>
                                        </div>
                                    </div>
                                <?php endif; ?>


                                <div class="bg-gray" style="padding:150px 0;">
                                    <div class="d-flex a-center j-center ">
                                        <div class="a-link text-bold text-primary" style="font-size:2.5rem;margin-right:10px;"><?php $this->category(); ?></div>
                                        <div class="mx-2">
                                            <div class="text-tiny">
                                                <div>欢迎来到 <span class="text-primary">豆包说说</span> 栏目</div>
                                                <div>本栏目暂时不支持评论</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>


                                <?php $slug = $this->getArchiveSlug(); ?>
                                <?php while ($this->next()): ?>
                                    <div class="--says-item">
                                        <div class="d-flex a-center">
                                            <div class="f1 d-flex a-center">
                                                <div class="chip">
                                                    <figure class="avatar avatar-sm"><img style="border:solid 1px var(--primaryText);border-radius:100px;" src="<?php $this->options->themeUrl('images/doubao-face.png'); ?>"></figure>
                                                    <span>Doubao says</span>
                                                </div>
                                                <div class="hide-sm ml-2 text-bold text-large">
                                                    <?php $this->title() ?>
                                                </div>
                                            </div>
                                            <div class="text-gray text-small"><?php $this->date('Y/m/d'); ?></div>
                                        </div>
                                        <div class="--says-body bg-gray">

                                            <div class="show-sm text-bold text-large">
                                                <?php $this->title() ?>
                                            </div>
                                            <div class="-says-content"><?php $this->content(''); ?></div>
                                        </div>
                                    </div>
                                <?php endwhile; ?>
                                <div class=''>
                                    <?php $this->pageNav('P', 'N'); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <?php $this->need('footer.php'); ?>
    </div>
</body>

</html>